import os
import shutil
from tqdm import tqdm

TempPath = r"/media/fang/TOSHIBA EXT/Temp/600_300"

# if TempPath.split("\\")[-1] == "temp":
for root, dirs, files in os.walk(TempPath):
    for file in tqdm(files):
        # if "N" in file:
        os.remove(root + "/" + file)


# else:
#     print("Not temp path")
